﻿using System;
using System.Collections.Generic;

namespace NewCodeAPI.Models;

public partial class CourseMaterial
{
    public int Id { get; set; }

    public int Courseid { get; set; }

    public int? Classbeginsid { get; set; }

    /// <summary>
    /// 1.课程学习资料 2.课堂花絮 3.课程表
    /// </summary>
    public sbyte? Category { get; set; }

    /// <summary>
    /// 1.mp4;2.pdf;3.jpg;4.jpeg;5.png
    /// </summary>
    public sbyte Type { get; set; }

    public string Path { get; set; } = null!;

    public string? Title { get; set; }

    public string? Shortdescription { get; set; }

    public DateTime Createdatetime { get; set; }

    public DateTime Modifydatetime { get; set; }

    public string Operatorid { get; set; } = null!;
}
